<?php
/**
 * 起拍礼物
 */

namespace App\Models\MainDB\Auction;

use Illuminate\Database\Eloquent\Model;

class AuctionGift extends Model
{

    protected $table = 'ln_auction_gift';

    protected $fillable = [
        'id',
        'gift_id',
        'gift_name',
        'gift_picture',
        'gift_special',
        'gift_price',
        'sort',
        'add_time',
    ];

    public $timestamps = false;

    public function gift()
    {
        return $this->belongsTo('App\Models\MainDB\Gift', 'gift_id', 'id');
    }

}
